home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 817 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.u.washington.edu!zoroastr
  2. From: zoroastr@u.washington.edu (John Cain)
  3. Newsgroups: comp.lang.c
  4. Subject: DOS program creation in Borland C++ 4.5 help!
  5. Date: 9 Jan 1996 16:01:55 GMT
  6. Organization: University of Washington
  7. Message-ID: <4cu3hj$rsd@nntp5.u.washington.edu>
  8. NNTP-Posting-Host: homer22.u.washington.edu
  9. NNTP-Posting-User: zoroastr
  10.  
  11.  
  12.  
  13. To anyone who has had experience creating DOS executables using Borland 
  14. C++ 4.5: HELP!!!...seriously, if you can answer this question, i would 
  15. really appreciate it.  if you can send me an answer by e-mail, that would 
  16. be great, but i'll monitor this group anyway (someone else may benefit 
  17. from your answer).  here's the problem, the steps i take, and the results 
  18. i get:
  19.  
  20. after writing the program, it compiles error-free and runs in the little 
  21. window inside the IDE.
  22.  
  23. i then invoke the Target Expert to begin creating the DOS executable.
  24.  
  25. the tagert parameters are set and the file is created after re-compiling.
  26.  
  27. i shell out to DOS and try to run the program.
  28.  
  29. DOS says i have to run the program in Windows.
  30.  
  31. WHY?
  32.  
  33. These are very small (20-line) programs just for testing.  all they do is 
  34. prompt for input and perform simmple math operations.  i have tried many 
  35. different combinations of settings in the Target Expert to try to fix 
  36. this, but to no avail.  can you help?
  37.  
  38. thanks a lot in advance,
  39.  
  40. john cain
  41. university of washington
  42.  
  43.  
  44.